﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;
using DA;
namespace BLL
{
    public class Order_BLL
    {
        public static Order_DAL cls = new Order_DAL();
        #region[Get-Data]
        public DataTable GetOrder()
        {
            return cls.GetOrder();
        }
        public DataTable GetOrderOrder()
        {
            return cls.GetOrderOrder();
        }
        public DataTable GetOrderDetail_Edit(int id)
        {
            return cls.GetOrderDetail_Edit(id);
        }
        #endregion

        #region[Insert-Update-Delete]
        public static bool Inserttb_Order(ET.Order_ET obj)
        {
            return cls.Inserttb_Order(obj);
        }
        public static bool Updatetb_Order(ET.Order_ET obj)
        {
            return cls.Updatetb_Order(obj);
        }
        public static bool Delete_Order(int id)
        {
            return cls.Delete_Order(id);
        }
        #endregion

        #region[Search-Fillter]
        public DataTable SearchOrder(string keywords)
        {
            return cls.SearchOrder(keywords);
        }
        #endregion
    }
}
